The standard debugging key
bindings are always available by default on the prefix key
C-c C-d, so, for example, setting a breakpoint is done
with C-c C-d C-b, and compiling a source file with
C-c C-d C-c. You can also easily configure IDLWAVE to
use one or more modifier keys not in use by other commands, in
lieu of the prefix C-c C-d (though these bindings will
typically also be available — see
idlwave-shell-activate-prefix-keybindings). For
example, if you include in .emacs:
(setq idlwave-shell-debug-modifiers '(control shift))
a breakpoint can then be set by pressing
b while holding down shift and
control keys, i.e. C-S-b. Compiling a
source file will be on C-S-c, deleting a breakpoint
C-S-d, etc. In the remainder of this chapter we will
assume that the C-c C-d bindings are active, but each
of these bindings will have an equivalent shortcut if modifiers
are given in the idlwave-shell-debug-modifiers
variable (see
Lesson II – Customization). A much simpler and faster
form of debugging for running code is also available by default
— see Electric Debug
Mode.
The prefix key for the debugging map
idlwave-shell-mode-prefix-map.